import 'package:flutter/material.dart';
import 'package:flustars/flustars.dart' as flustars;
import 'package:smart_freezer/core/utils/color_util.dart';
import 'package:smart_freezer/core/utils/local_storage.dart';


class MainCommon {

  static Color homeThemeColor = Colors.black;
  static MaterialColor homeThemeMaterialColor = createMaterialColor(Colors.black); // Color(0xFF2097F3)

  static MaterialColor darkBlueMaterialColor = createMaterialColor(HexColor("#1E202B")); // Color(0xFF2097F3)


  static List<Color> jianBianColorList = [Color(0xFF1EC0FF), Color(0xFF1890FF)];
  static Color homeBtnColor = Color(0xFF86184E);
  static Color bgGreyColor = Color(0xFFF1F3F8);

  /// 状态栏高度
  static final statusBarHeight = flustars.ScreenUtil.getInstance().statusBarHeight;
  /// appBar 高度
  static final appBarHeight = flustars.ScreenUtil.getInstance().appBarHeight;
  /// 屏幕宽度
  static final screenWidth = flustars.ScreenUtil.getInstance().screenWidth;
  /// 屏幕高度
  static final screenHeight = flustars.ScreenUtil.getInstance().screenHeight;
  /// 工具栏高度
  static final bottomHeight = 60.0; // flustars.ScreenUtil.getInstance().bottomBarHeight;

}